import 'antd/dist/reset.css';
import { createRoot } from 'react-dom/client';
import App from './App';
import './index.css';
import request from './utils/Request';

let root = null;

window.$axios = request;

const render = props => {
  const { container } = props;
  root = createRoot(document.querySelector('#root'));

  root.render(
    <div className="bg-base-100 w-screen h-screen text-base-content home-root">
      <App></App>
    </div>,
  );
};

render({});
